<template>
  <div id="components-layout-demo-basic">
    <a-layout>
      <a-layout-header><Header></Header> </a-layout-header>
      <a-layout>
        <a-layout-sider><Menu></Menu></a-layout-sider>
        <a-layout-content><router-view /></a-layout-content>
      </a-layout>
    </a-layout>
  </div>
</template>
<script>
import Header from "./components/Header";
import Menu from "./components/Menu";
export default {
  name: "AntLayout",
  components: { Header, Menu },
  data() {
    return {
      collapsed: false
    };
  }
};
</script>
<style>
#components-layout-demo-basic {
  height: 100%;
}
.ant-layout {
  height: 100%;
}
#components-layout-demo-basic .ant-layout-header {
  background: #7dbcea;
  color: #fff;
}
#components-layout-demo-basic .ant-layout-footer {
  line-height: 1.5;
}
#components-layout-demo-basic .ant-layout-sider {
  width: 350px;
  overflow: auto;
}
#components-layout-demo-basic .ant-layout-content {
  background: rgba(16, 142, 233, 1);
  color: #fff;
  min-height: 120px;
  overflow: auto;
}
#components-layout-demo-basic > .ant-layout {
  margin-bottom: 48px;
}
#components-layout-demo-basic > .ant-layout:last-child {
  margin: 0;
}
</style>
